#pragma once

#include "engine/core/base_app.h"
#include "engine/core/camera2d.h"


class Demo2d : public kanon::BaseApp
{
public:
    std::shared_ptr<kanon::Camera2d> camera;
    std::shared_ptr<kanon::RenderSystem2d> render_system2d;
    int32_t selected_actor_index = -1;

public:
    Demo2d();
    virtual ~Demo2d() {}

    virtual void Initialize() override;
    virtual void Render() override;
    virtual void RegisterEvents() override;
    virtual void RenderUI() override;
};
